package com.jicheng.mapper;

import com.jicheng.dto.app.AppDataHistoryDto;
import com.jicheng.dto.app.AppDateDto;
import com.jicheng.entity.AppDataHistory;
import com.jicheng.entity.SuperviseUser;
import com.jicheng.ext.dto.SearchPagingParams;
import com.jicheng.framework.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AppDataMapper extends BaseMapper<AppDataHistory> {

    List<AppDataHistoryDto> dataList(SearchPagingParams searchPagingParams);

    List<AppDateDto> getAppDataHistory(@Param("appId") String appId, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
